home *** CD-ROM | disk | FTP | other *** search
- :
- #
- # init.s3ccon
- #
- # Copyright (C) 1991 Xware.
- #
-
- PATH=/bin:/usr/bin:/etc:/etc/conf/bin
- PERM=/etc/perms/inst # OS (link kit) permlist
-
- : ${OK=0} ${FAIL=1}
-
- #
- # exit with the status passed as argument
- #
-
- cleanup()
- {
- trap '' 1 2 3 15
- exit $1
- }
-
- #
- # main()
- #
-
- cd /
-
- trap 'echo "\nInterrupted! Exiting ..."; cleanup 1' 1 2 3 15
-
- #
- # back up the original driver and copy the new one into place
- #
-
- if [ -f /etc/conf/pack.d/vga/Driver.o -a ! -f /etc/conf/pack.d/vga/Driver.ORG ] ; then
- cp /etc/conf/pack.d/vga/Driver.o /etc/conf/pack.d/vga/Driver.ORG
- fi
-
- cp /etc/conf/pack.d/vga/Driver.o /etc/conf/pack.d/vga/Driver.org
- cp /etc/conf/pack.d/vga/Driver.s3c /etc/conf/pack.d/vga/Driver.o
-
- #
- # relink the kernel
- #
-
- cd /etc/conf/cf.d
- ./link_unix
-
- cleanup 0
-
-